package com.bat.conf.datasource;

import java.lang.annotation.*;

/**
 * @Description: 数据源切换枚举
 * @Author: zpf
 * @Date: 2020/1/17 上午10:35
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSourceAnnotation {
    DatabaseTypeEnum value() default DatabaseTypeEnum.LOCAL;

}
